<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8" />
<title>注册页面</title>
<link th:href="@{/bootstrap.min.css}" rel="stylesheet" />
<link th:href="@{/bootstrap-theme.min.css}" rel="stylesheet" />
</head>
<body class="container">
	
	<div style="padding: 100px 100px 10px;" align="center">
		<div class="jumbotron">
        	<h1>客户端注册页面</h1>
        	<p th:if="${exist}" style="color: red">用户名已存在</p>
      	</div>
		<form class="bs-example bs-example-form" role="form" th:action="@{/client/register}" method="post">
			<div class="input-group" style="width:300px">
				<span class="input-group-addon">name :</span>
				<input type="text" name="clientName" class="form-control input-lg" placeholder="name" />
			</div>
			<br />
			<div class="input-group" style="width:300px">
				<span class="input-group-addon">UUID :</span>
				<input type="text" name="uuid" class="form-control input-lg" placeholder="UUID" />
			</div>
			<br />
			<div class="input-group" style="width:300px">
				<span class="input-group-addon">IP :</span>
				<input type="text" name="clientIp" class="form-control input-lg" placeholder="IP" />
			</div>
			<br />
			<div class="input-group" style="width:300px">
				<span class="input-group-addon">PORT :</span>
				<input type="text" name="clientPort" class="form-control input-lg" placeholder="PORT" />
			</div>
			<br />
			<div class="input-group" style="width:300px">
				<select name="clientType" class="form-control input-lg">
					<option class="form-control input-lg" value="1">服务端注册</option>
					<option class="form-control input-lg" value="2">飞控注册</option>
				</select>
			</div>
			<br />
			<div style="width:300px">
				<input type="submit" class="btn btn-lg btn-primary" value="点击注册" />
			</div>
		</form>
	</div>
</body>
</html>